package com.abc.base.spark.rpc;

import com.abc.base.common.model.HouseInfo;
import com.abc.base.common.response.Result;
import com.abc.base.common.service.ServiceConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


@RestController
public interface SparkRpc {

    @GetMapping("/sparkProcessData")
    Result<List<HouseInfo>> processData();
}